package com.armani.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ProjectName: armani
 * @Package: com.armani.entity
 * @ClassName: Pay
 * @Description: TODO
 * @Author: Roc
 * @Date: 2021/11/27 16:59
 * @Version: 1.0
 **/
@Data
public class Pay {
    private Integer id; //用户流水ID
    private Integer userId; //用户id
    private Integer orderId; //订单Id
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date payTime; //交易时间
    private BigDecimal payment; //交易金额
    private Integer payway; //交易方式
    private Integer state; //状态
}
